@charset "UTF-8";
@import "../core/reset";
body {
    width: 100%;
    height: 100%;
    background: white;
    header {
        width: 100%;
        height: .4rem;
        background: #de4943;
        @include flexbox();
        a {
            width: .3rem;
            height: .4rem;
            background: url("../images/headback.jpg");
            margin-left: .08rem;
        }
        h2 {
            @include flex(1);
            text-align: center;
            color: white;
            line-height: 40px;
        }
        span {
            width: .3rem;
            height: .4rem;
            background: url("../images/headIcon.png") no-repeat;
            background-position: -150px 6px;
            margin-right: .08rem;
        }
    }
    .contentWrapper {
        padding-top: .4rem;
        .loginMethod {
            @include flexbox();
            @include flex-direction(row);
            justify-content: space-around;

            .accountLoginBtn {
                // text-decoration: underline;
                position: relative;
            }
            .phoneLoginBtn {
                position: relative;
            }

            .active {
                color: #de4943;

            }

            .active:after {
                position: absolute;
                width: 100%;
                height: 3px;
                content: '';
                background: #de4943;
                border-radius: 4px;
                display:block;
            }
        }

        .loginWrapper {
            width: 84%;
            margin: 0 auto;
            padding-top: 20px;
            .accountLoginModule {
                width: 100%;
                background: white;

                .user {
                    width: 100%;
                    height: 42px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    position: relative;
                    i {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        background: url('../images/loginIcon.png') no-repeat;
                        background-position: 0 -34px;
                        margin: 10px 10px 0 10px;
                    }

                    input {
                        border: 0;
                        padding: 0;
                        margin: 0;
                        outline: 0;
                        height: 40px;
                        line-height: 40px;
                        position: absolute;
                        left: 40px;
                        top: 0;
                        font-size: 14px;
                    }
                }

                .password {
                    margin-top: 20px;
                    width: 100%;
                    height: 42px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    position: relative;
                    i {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        background: url('../images/loginIcon.png') no-repeat;
                        background-position: -72px -34px;
                        margin: 10px 10px 0 10px;
                    }

                    input {
                        border: 0;
                        padding: 0;
                        margin: 0;
                        outline: 0;
                        height: 40px;
                        line-height: 40px;
                        position: absolute;
                        left: 40px;
                        top: 0;
                        font-size: 14px;
                    }
                }
            
            
            }

            .phoneNumberLoginModule {
                width: 100%;
                background: white;
                display: none;

                .phone {
                    width: 100%;
                    height: 42px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    position: relative;
                    i {
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        background: url('../images/loginIcon.png') no-repeat;
                        background-position: -138px -34px;
                        margin: 10px 10px 0 10px;
                    }

                    input {
                        border: 0;
                        padding: 0;
                        margin: 0;
                        outline: 0;
                        height: 40px;
                        line-height: 40px;
                        position: absolute;
                        left: 40px;
                        top: 0;
                        font-size: 14px;
                    }
                }

                .checkCode {
                    margin-top: 20px;
                    width: 100%;
                    height: 42px;

                    background: white;
                    position: relative;


                    input {
                        border: 0;
                        padding: 0;
                        margin: 0;
                        outline: 0;
                        height: 100%;
                        line-height: 40px;
                        position: absolute;
                        left: 0;
                        top: 0;
                        font-size: 14px;
                        border: 1px solid #ccc;
                        border-radius: 4px;
                        padding-left: 10px;
                        width: 130px;
                    }

                    span {
                        position: absolute;
                        right: 0;
                        height: 100%;
                        background: #df3832;
                        border-radius: 4px;
                        color: white;
                        line-height: 40px;
                        width: 90px;
                        text-align: center;
                    }
                }
            }

            .loginBtn {
                width: 100%;
                height: 34px;
                background: #DE4B45;
                border-radius: 4px;
                text-align: center;
                display: block;
                margin-top: 30px;
                line-height: 34px;
                text-align: center;
                color: white;
            }

        }
    }
}